package one.undefined.Core;
// пакеты JDA
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.JDABuilder;

import net.dv8tion.jda.api.requests.GatewayIntent;
import one.undefined.Utils.Privates;
import one.undefined.Listeners.*;

public class Main {
    public static void main(String[] args) throws Exception {
        JDA api = JDABuilder.createDefault(Privates.token).enableIntents(GatewayIntent.GUILD_MEMBERS).build();
        api.addEventListener(
                new GuildOnMember()
        );
        System.out.println("Бот запустился");
    }
}
